package com.woniuxy.qimengorder.bean;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2020-08-25 20:10:27
 */
@Data
public class OrderBean implements Serializable {

    private static final long serialVersionUID = -84409332946912325L;
    /**
     * 主键
     */
    private Integer id;
    /**
     * 订单编号
     */
    private String number;
    /**
     * 订单来源 0-微信小程序，1-支付宝小程序，2-其他
     */
    private Integer source;
    /**
     * 订单日期
     */
    private Date orderTime;
    /**
     * 业务教师外键
     */
    private TeacherBeanVo teacher;
    /**
     * 家长外键
     */
    private ParentBeanVo parent;
    /**
     * 学员外键
     */
    private StudentBeanVo student;
    /**
     * 课程外键
     */
    private Integer courseId;
    /**
     * 订单总价
     */
    private BigDecimal totalOrderPrice;
    /**
     * 退费状态 0-未退费，1-已退费     设置默认值：0
     */
    private Integer refundStatus;

}